[INFO] cloning repository https://github.com/Rice-Rocket/chess-engine-v2
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Rice-Rocket/chess-engine-v2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRice-Rocket%2Fchess-engine-v2", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRice-Rocket%2Fchess-engine-v2'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 11f24cd4e4223245e8a86bbc6a7c00661f44c238
[INFO] fixing Rice-Rocket/chess-engine-v2 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRice-Rocket%2Fchess-engine-v2" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Rice-Rocket/chess-engine-v2
[INFO] finished tweaking git repo https://github.com/Rice-Rocket/chess-engine-v2
[INFO] tweaked toml for git repo https://github.com/Rice-Rocket/chess-engine-v2 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Rice-Rocket/chess-engine-v2 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Rice-Rocket/chess-engine-v2 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: crates/proc_macro_utils/Cargo.toml: `proc_macro` is deprecated in favor of `proc-macro` and will not work in the 2024 edition
[INFO] [stderr] (in the `proc_macro_utils` library target)
[INFO] [stderr] warning: `proc_macro_utils` (manifest) generated 1 warning
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] ca8bfb5df7664ff9a67ee43b2f1b1a51ffb5f0f3885bcef088e157d4f459712c
[INFO] running `Command { std: "docker" "start" "ca8bfb5df7664ff9a67ee43b2f1b1a51ffb5f0f3885bcef088e157d4f459712c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ca8bfb5df7664ff9a67ee43b2f1b1a51ffb5f0f3885bcef088e157d4f459712c" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ca8bfb5df7664ff9a67ee43b2f1b1a51ffb5f0f3885bcef088e157d4f459712c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ca8bfb5df7664ff9a67ee43b2f1b1a51ffb5f0f3885bcef088e157d4f459712c" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating crates/engine/Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Migrating crates/proc_macro_utils/Cargo.toml from 2021 edition to 2024
[INFO] [stderr]        Fixed crates/proc_macro_utils/Cargo.toml (1 fix)
[INFO] [stderr]    Migrating crates/external-uci/Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Migrating crates/uci/Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]     Checking anstyle-query v1.0.3
[INFO] [stderr]     Checking anstyle-parse v0.2.4
[INFO] [stderr]     Checking proc-macro2 v1.0.82
[INFO] [stderr]     Checking clap_lex v0.7.0
[INFO] [stderr]    Compiling syn v2.0.62
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking termion v4.0.0
[INFO] [stderr]     Checking anstream v0.6.14
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking parking_lot v0.12.2
[INFO] [stderr]     Checking clap_builder v4.5.2
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking quote v1.0.36
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking proc_macro_utils v0.1.0 (/opt/rustwide/workdir/crates/proc_macro_utils)
[INFO] [stderr]    Migrating crates/proc_macro_utils/src/lib.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed crates/proc_macro_utils/src/lib.rs (2 fixes)
[INFO] [stderr]    Compiling thiserror-impl v1.0.60
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling async-trait v0.1.80
[INFO] [stderr]    Compiling clap_derive v4.5.4
[INFO] [stderr]     Checking engine v0.1.0 (/opt/rustwide/workdir/crates/engine)
[INFO] [stderr]    Migrating crates/engine/src/lib.rs from 2021 edition to 2024
[INFO] [stderr]     Checking tokio v1.37.0
[INFO] [stderr]     Checking thiserror v1.0.60
[INFO] [stderr]     Checking clap v4.5.4
[INFO] [stderr]        Fixed crates/engine/src/move_gen/prng.rs (4 fixes)
[INFO] [stderr]        Fixed crates/engine/src/eval/macros.rs (35 fixes)
[INFO] [stderr]        Fixed crates/engine/src/move_gen/magics.rs (1 fix)
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> crates/engine/src/move_gen/magics.rs:52:30
[INFO] [stdout]    |
[INFO] [stdout] 52 |         let entry = unsafe { ROOK_MAGICS.get_unchecked(square.index()) };
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> crates/engine/src/move_gen/magics.rs:62:30
[INFO] [stdout]    |
[INFO] [stdout] 62 |         let entry = unsafe { BISHOP_MAGICS.get_unchecked(square.index()) };
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> crates/engine/src/move_gen/magics.rs:195:13
[INFO] [stdout]     |
[INFO] [stdout] 195 |             BISHOP_MAGICS.as_mut_ptr(),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> crates/engine/src/move_gen/magics.rs:196:13
[INFO] [stdout]     |
[INFO] [stdout] 196 |             BISHOP_TABLE.as_mut_ptr(),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> crates/engine/src/move_gen/magics.rs:201:13
[INFO] [stdout]     |
[INFO] [stdout] 201 |             ROOK_MAGICS.as_mut_ptr(),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> crates/engine/src/move_gen/magics.rs:202:13
[INFO] [stdout]     |
[INFO] [stdout] 202 |             ROOK_TABLE.as_mut_ptr(),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> crates/engine/src/precomp.rs:231:31
[INFO] [stdout]     |
[INFO] [stdout] 231 |     for (i, mask) in unsafe { ADJACENT_FILE_MASK.iter_mut().enumerate() } {
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> crates/engine/src/precomp.rs:237:31
[INFO] [stdout]     |
[INFO] [stdout] 237 |     for (i, mask) in unsafe { TRIPLE_FILE_MASK.iter_mut().enumerate() } {
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> crates/engine/src/precomp.rs:268:31
[INFO] [stdout]     |
[INFO] [stdout] 268 |     for (i, mask) in unsafe { KING_SAFETY_MASK.iter_mut().enumerate() } {
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> crates/engine/src/move_gen/magics.rs:52:30
[INFO] [stdout]    |
[INFO] [stdout] 52 |         let entry = unsafe { ROOK_MAGICS.get_unchecked(square.index()) };
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> crates/engine/src/move_gen/magics.rs:62:30
[INFO] [stdout]    |
[INFO] [stdout] 62 |         let entry = unsafe { BISHOP_MAGICS.get_unchecked(square.index()) };
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> crates/engine/src/move_gen/magics.rs:195:13
[INFO] [stdout]     |
[INFO] [stdout] 195 |             BISHOP_MAGICS.as_mut_ptr(),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> crates/engine/src/move_gen/magics.rs:196:13
[INFO] [stdout]     |
[INFO] [stdout] 196 |             BISHOP_TABLE.as_mut_ptr(),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> crates/engine/src/move_gen/magics.rs:201:13
[INFO] [stdout]     |
[INFO] [stdout] 201 |             ROOK_MAGICS.as_mut_ptr(),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> crates/engine/src/move_gen/magics.rs:202:13
[INFO] [stdout]     |
[INFO] [stdout] 202 |             ROOK_TABLE.as_mut_ptr(),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> crates/engine/src/precomp.rs:231:31
[INFO] [stdout]     |
[INFO] [stdout] 231 |     for (i, mask) in unsafe { ADJACENT_FILE_MASK.iter_mut().enumerate() } {
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> crates/engine/src/precomp.rs:237:31
[INFO] [stdout]     |
[INFO] [stdout] 237 |     for (i, mask) in unsafe { TRIPLE_FILE_MASK.iter_mut().enumerate() } {
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> crates/engine/src/precomp.rs:268:31
[INFO] [stdout]     |
[INFO] [stdout] 268 |     for (i, mask) in unsafe { KING_SAFETY_MASK.iter_mut().enumerate() } {
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking uci v0.1.0 (/opt/rustwide/workdir/crates/uci)
[INFO] [stderr]    Migrating crates/uci/src/lib.rs from 2021 edition to 2024
[INFO] [stderr]     Checking external-uci v0.1.0 (/opt/rustwide/workdir/crates/external-uci)
[INFO] [stderr]    Migrating crates/external-uci/src/lib.rs from 2021 edition to 2024
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> crates/external-uci/src/lib.rs:383:19
[INFO] [stdout]     |
[INFO] [stdout] 382 |         while let Some(line) = stdout.next_line().await.unwrap() {
[INFO] [stdout]     |                                ------------------------
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                `__awaitee` calls a custom destructor
[INFO] [stdout]     |                                `__awaitee` will be dropped later as of Edition 2024
[INFO] [stdout] 383 |             match parse_uci(line) {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   this value will be stored in a temporary; let us call it `#4`
[INFO] [stdout]     |                   up until Edition 2021 `#4` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] 384 |                 Ok(UciMessage::UciOk) => {
[INFO] [stdout] 385 |                     let mut state = state.lock().expect("couldn't acquire state lock");
[INFO] [stdout]     |                         ---------
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `state` calls a custom destructor
[INFO] [stdout]     |                         `state` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 389 |                     let mut state = state.lock().expect("couldn't acquire state lock");
[INFO] [stdout]     |                         ---------
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |                         `#1` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 402 |                     let mut ev = ev.lock().expect("couldn't acquire ev lock");
[INFO] [stdout]     |                         ------
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `ev` calls a custom destructor
[INFO] [stdout]     |                         `ev` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 420 |                     let mut options = options.lock().expect("couldn't acquire options lock");
[INFO] [stdout]     |                         -----------
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `options` calls a custom destructor
[INFO] [stdout]     |                         `options` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 424 |                     let mut perfts = perfts.lock().expect("couldn't acquire perfts lock");
[INFO] [stdout]     |                         ----------
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `perfts` calls a custom destructor
[INFO] [stdout]     |                         `perfts` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 428 |                     let mut state = state.lock().expect("couldn't acquire state lock");
[INFO] [stdout]     |                         ---------
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         this value will be stored in a temporary; let us call it `#2`
[INFO] [stdout]     |                         `#2` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 435 |                     let mut bestmove = bestmove.lock().expect("couldn't acquire bestmove lock");
[INFO] [stdout]     |                         ------------
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `bestmove` calls a custom destructor
[INFO] [stdout]     |                         `bestmove` will be dropped later as of Edition 2024
[INFO] [stdout] 436 |                     *bestmove = m;
[INFO] [stdout] 437 |                     let mut state = state.lock().expect("couldn't acquire state lock");
[INFO] [stdout]     |                         ---------
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         this value will be stored in a temporary; let us call it `#3`
[INFO] [stdout]     |                         `#3` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 445 |         }
[INFO] [stdout]     |         - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout] note: `#4` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.83/src/error.rs:600:1
[INFO] [stdout]     |
[INFO] [stdout] 600 | impl Drop for Error {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `state` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sync/poison/mutex.rs:741:0
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sync/poison/mutex.rs:741:0
[INFO] [stdout] note: `ev` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sync/poison/mutex.rs:741:0
[INFO] [stdout] note: `options` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sync/poison/mutex.rs:741:0
[INFO] [stdout] note: `perfts` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sync/poison/mutex.rs:741:0
[INFO] [stdout] note: `#2` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sync/poison/mutex.rs:741:0
[INFO] [stdout] note: `bestmove` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sync/poison/mutex.rs:741:0
[INFO] [stdout] note: `#3` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sync/poison/mutex.rs:741:0
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]     = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> crates/external-uci/src/lib.rs:383:19
[INFO] [stdout]     |
[INFO] [stdout] 382 |         while let Some(line) = stdout.next_line().await.unwrap() {
[INFO] [stdout]     |                                ------------------------
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                `__awaitee` calls a custom destructor
[INFO] [stdout]     |                                `__awaitee` will be dropped later as of Edition 2024
[INFO] [stdout] 383 |             match parse_uci(line) {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   this value will be stored in a temporary; let us call it `#4`
[INFO] [stdout]     |                   up until Edition 2021 `#4` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] 384 |                 Ok(UciMessage::UciOk) => {
[INFO] [stdout] 385 |                     let mut state = state.lock().expect("couldn't acquire state lock");
[INFO] [stdout]     |                         ---------
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `state` calls a custom destructor
[INFO] [stdout]     |                         `state` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 389 |                     let mut state = state.lock().expect("couldn't acquire state lock");
[INFO] [stdout]     |                         ---------
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |                         `#1` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 402 |                     let mut ev = ev.lock().expect("couldn't acquire ev lock");
[INFO] [stdout]     |                         ------
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `ev` calls a custom destructor
[INFO] [stdout]     |                         `ev` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 420 |                     let mut options = options.lock().expect("couldn't acquire options lock");
[INFO] [stdout]     |                         -----------
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `options` calls a custom destructor
[INFO] [stdout]     |                         `options` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 424 |                     let mut perfts = perfts.lock().expect("couldn't acquire perfts lock");
[INFO] [stdout]     |                         ----------
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `perfts` calls a custom destructor
[INFO] [stdout]     |                         `perfts` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 428 |                     let mut state = state.lock().expect("couldn't acquire state lock");
[INFO] [stdout]     |                         ---------
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         this value will be stored in a temporary; let us call it `#2`
[INFO] [stdout]     |                         `#2` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 435 |                     let mut bestmove = bestmove.lock().expect("couldn't acquire bestmove lock");
[INFO] [stdout]     |                         ------------
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `bestmove` calls a custom destructor
[INFO] [stdout]     |                         `bestmove` will be dropped later as of Edition 2024
[INFO] [stdout] 436 |                     *bestmove = m;
[INFO] [stdout] 437 |                     let mut state = state.lock().expect("couldn't acquire state lock");
[INFO] [stdout]     |                         ---------
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         this value will be stored in a temporary; let us call it `#3`
[INFO] [stdout]     |                         `#3` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 445 |         }
[INFO] [stdout]     |         - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout] note: `#4` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.83/src/error.rs:600:1
[INFO] [stdout]     |
[INFO] [stdout] 600 | impl Drop for Error {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `state` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sync/poison/mutex.rs:741:0
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sync/poison/mutex.rs:741:0
[INFO] [stdout] note: `ev` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sync/poison/mutex.rs:741:0
[INFO] [stdout] note: `options` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sync/poison/mutex.rs:741:0
[INFO] [stdout] note: `perfts` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sync/poison/mutex.rs:741:0
[INFO] [stdout] note: `#2` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sync/poison/mutex.rs:741:0
[INFO] [stdout] note: `bestmove` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sync/poison/mutex.rs:741:0
[INFO] [stdout] note: `#3` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sync/poison/mutex.rs:741:0
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]     = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking chess-a-tron v0.2.14 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/main.rs from 2021 edition to 2024
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/main.rs:360:27
[INFO] [stdout]     |
[INFO] [stdout] 360 |                     match perft::test_perft(position, i, &fen, expand_branches, false, eval).await {
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----
[INFO] [stdout]     |                           |                                                                  |
[INFO] [stdout]     |                           |                                                                  this value will be stored in a temporary; let us call it `#3`
[INFO] [stdout]     |                           |                                                                  up until Edition 2021 `#3` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]     |                           |                                                                  this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |                           |                                                                  `#1` will be dropped later as of Edition 2024
[INFO] [stdout]     |                           this value will be stored in a temporary; let us call it `#2`
[INFO] [stdout]     |                           up until Edition 2021 `#2` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]     |                           `__awaitee` calls a custom destructor
[INFO] [stdout]     |                           `__awaitee` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 364 |                 }
[INFO] [stdout]     |                 - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#2` may invoke a custom destructor because it contains a trait object
[INFO] [stdout]     = note: `#1` may invoke a custom destructor because it contains a trait object
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]     = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]        Fixed src/perft.rs (2 fixes)
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/main.rs:360:27
[INFO] [stdout]     |
[INFO] [stdout] 360 |                     match perft::test_perft(position, i, &fen, expand_branches, false, eval).await {
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----
[INFO] [stdout]     |                           |                                                                  |
[INFO] [stdout]     |                           |                                                                  this value will be stored in a temporary; let us call it `#3`
[INFO] [stdout]     |                           |                                                                  up until Edition 2021 `#3` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]     |                           |                                                                  this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |                           |                                                                  `#1` will be dropped later as of Edition 2024
[INFO] [stdout]     |                           this value will be stored in a temporary; let us call it `#2`
[INFO] [stdout]     |                           up until Edition 2021 `#2` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]     |                           `__awaitee` calls a custom destructor
[INFO] [stdout]     |                           `__awaitee` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 364 |                 }
[INFO] [stdout]     |                 - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#2` may invoke a custom destructor because it contains a trait object
[INFO] [stdout]     = note: `#1` may invoke a custom destructor because it contains a trait object
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]     = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.49s
[INFO] [stderr] crater-edition-check: engine v0.1.0 (/opt/rustwide/workdir/crates/engine) updating edition from 2021 to 2024
[INFO] [stderr] crater-edition-check: proc_macro_utils v0.1.0 (/opt/rustwide/workdir/crates/proc_macro_utils) updating edition from 2021 to 2024
[INFO] [stderr] crater-edition-check: external-uci v0.1.0 (/opt/rustwide/workdir/crates/external-uci) updating edition from 2021 to 2024
[INFO] [stderr] crater-edition-check: uci v0.1.0 (/opt/rustwide/workdir/crates/uci) updating edition from 2021 to 2024
[INFO] [stderr] crater-edition-check: chess-a-tron v0.2.14 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]    Compiling proc_macro_utils v0.1.0 (/opt/rustwide/workdir/crates/proc_macro_utils)
[INFO] [stderr]     Checking external-uci v0.1.0 (/opt/rustwide/workdir/crates/external-uci)
[INFO] [stderr]     Checking engine v0.1.0 (/opt/rustwide/workdir/crates/engine)
[INFO] [stdout] warning: unexpected `cfg` condition value: `dbg-assert`
[INFO] [stdout]  --> crates/engine/src/utils/log.rs:1:7
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[cfg(feature = "dbg-assert")]
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: expected values for `feature` are: `default`
[INFO] [stdout]   = help: consider adding `dbg-assert` as a feature in `Cargo.toml`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `dbg-assert`
[INFO] [stdout]  --> crates/engine/src/utils/log.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[cfg(not(feature = "dbg-assert"))]
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: expected values for `feature` are: `default`
[INFO] [stdout]   = help: consider adding `dbg-assert` as a feature in `Cargo.toml`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `dbg-assert`
[INFO] [stdout]  --> crates/engine/src/utils/log.rs:1:7
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[cfg(feature = "dbg-assert")]
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: expected values for `feature` are: `default`
[INFO] [stdout]   = help: consider adding `dbg-assert` as a feature in `Cargo.toml`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `dbg-assert`
[INFO] [stdout]  --> crates/engine/src/utils/log.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[cfg(not(feature = "dbg-assert"))]
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: expected values for `feature` are: `default`
[INFO] [stdout]   = help: consider adding `dbg-assert` as a feature in `Cargo.toml`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> crates/engine/src/move_gen/magics.rs:52:30
[INFO] [stdout]    |
[INFO] [stdout] 52 |         let entry = unsafe { ROOK_MAGICS.get_unchecked(square.index()) };
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> crates/engine/src/move_gen/magics.rs:62:30
[INFO] [stdout]    |
[INFO] [stdout] 62 |         let entry = unsafe { BISHOP_MAGICS.get_unchecked(square.index()) };
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> crates/engine/src/move_gen/magics.rs:195:13
[INFO] [stdout]     |
[INFO] [stdout] 195 |             BISHOP_MAGICS.as_mut_ptr(),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> crates/engine/src/move_gen/magics.rs:196:13
[INFO] [stdout]     |
[INFO] [stdout] 196 |             BISHOP_TABLE.as_mut_ptr(),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> crates/engine/src/move_gen/magics.rs:201:13
[INFO] [stdout]     |
[INFO] [stdout] 201 |             ROOK_MAGICS.as_mut_ptr(),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> crates/engine/src/move_gen/magics.rs:202:13
[INFO] [stdout]     |
[INFO] [stdout] 202 |             ROOK_TABLE.as_mut_ptr(),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]   --> crates/engine/src/move_gen/prng.rs:23:38
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let bits: [u8; 8] = unsafe { std::mem::transmute(self.r#gen() ^ self.r#gen()) };
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order
[INFO] [stdout]    = note: `#[warn(unnecessary_transmutes)]` on by default
[INFO] [stdout] help: replace this with
[INFO] [stdout]    |
[INFO] [stdout] 23 -         let bits: [u8; 8] = unsafe { std::mem::transmute(self.r#gen() ^ self.r#gen()) };
[INFO] [stdout] 23 +         let bits: [u8; 8] = unsafe { u64::to_ne_bytes(self.r#gen() ^ self.r#gen()) };
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> crates/engine/src/precomp.rs:231:31
[INFO] [stdout]     |
[INFO] [stdout] 231 |     for (i, mask) in unsafe { ADJACENT_FILE_MASK.iter_mut().enumerate() } {
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> crates/engine/src/precomp.rs:237:31
[INFO] [stdout]     |
[INFO] [stdout] 237 |     for (i, mask) in unsafe { TRIPLE_FILE_MASK.iter_mut().enumerate() } {
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> crates/engine/src/precomp.rs:268:31
[INFO] [stdout]     |
[INFO] [stdout] 268 |     for (i, mask) in unsafe { KING_SAFETY_MASK.iter_mut().enumerate() } {
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `engine` (lib) due to 9 previous errors; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> crates/engine/src/move_gen/magics.rs:52:30
[INFO] [stdout]    |
[INFO] [stdout] 52 |         let entry = unsafe { ROOK_MAGICS.get_unchecked(square.index()) };
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> crates/engine/src/move_gen/magics.rs:62:30
[INFO] [stdout]    |
[INFO] [stdout] 62 |         let entry = unsafe { BISHOP_MAGICS.get_unchecked(square.index()) };
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> crates/engine/src/move_gen/magics.rs:195:13
[INFO] [stdout]     |
[INFO] [stdout] 195 |             BISHOP_MAGICS.as_mut_ptr(),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> crates/engine/src/move_gen/magics.rs:196:13
[INFO] [stdout]     |
[INFO] [stdout] 196 |             BISHOP_TABLE.as_mut_ptr(),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> crates/engine/src/move_gen/magics.rs:201:13
[INFO] [stdout]     |
[INFO] [stdout] 201 |             ROOK_MAGICS.as_mut_ptr(),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> crates/engine/src/move_gen/magics.rs:202:13
[INFO] [stdout]     |
[INFO] [stdout] 202 |             ROOK_TABLE.as_mut_ptr(),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]   --> crates/engine/src/move_gen/prng.rs:23:38
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let bits: [u8; 8] = unsafe { std::mem::transmute(self.r#gen() ^ self.r#gen()) };
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order
[INFO] [stdout]    = note: `#[warn(unnecessary_transmutes)]` on by default
[INFO] [stdout] help: replace this with
[INFO] [stdout]    |
[INFO] [stdout] 23 -         let bits: [u8; 8] = unsafe { std::mem::transmute(self.r#gen() ^ self.r#gen()) };
[INFO] [stdout] 23 +         let bits: [u8; 8] = unsafe { u64::to_ne_bytes(self.r#gen() ^ self.r#gen()) };
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> crates/engine/src/precomp.rs:231:31
[INFO] [stdout]     |
[INFO] [stdout] 231 |     for (i, mask) in unsafe { ADJACENT_FILE_MASK.iter_mut().enumerate() } {
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> crates/engine/src/precomp.rs:237:31
[INFO] [stdout]     |
[INFO] [stdout] 237 |     for (i, mask) in unsafe { TRIPLE_FILE_MASK.iter_mut().enumerate() } {
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> crates/engine/src/precomp.rs:268:31
[INFO] [stdout]     |
[INFO] [stdout] 268 |     for (i, mask) in unsafe { KING_SAFETY_MASK.iter_mut().enumerate() } {
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `engine` (lib test) due to 9 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "ca8bfb5df7664ff9a67ee43b2f1b1a51ffb5f0f3885bcef088e157d4f459712c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ca8bfb5df7664ff9a67ee43b2f1b1a51ffb5f0f3885bcef088e157d4f459712c", kill_on_drop: false }`
[INFO] [stdout] ca8bfb5df7664ff9a67ee43b2f1b1a51ffb5f0f3885bcef088e157d4f459712c
